# build helloworld executable when user executes "make"  
#CC=gcc
 CC=mipsel-openwrt-linux-gcc
 ARMCC=arm-none-linux-gnueabi-gcc

all: 
	$(CC) -o ssl_server -lssl -l crypto sslserver3b.c
	$(CC) -o ssl_client -lssl -l crypto sslclient3b.c
	gcc  -o ssl_server_x86 -lssl -l crypto sslserver3b.c
	gcc  -o ssl_client_x86 -lssl -l crypto sslclient3b.c
	
#	$(CC) -o comsend comsend.c common.c serial.c
#	$(CC) -o comrecv comrecv.c common.c serial.c
# remove object files and executable when user executes "make clean"  
clean:  
	rm *.o ssl_server ssl_client ssl_client_x86 ssl_server_x86
